<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>    
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"     prefix="c"    %>     
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" href="css/base.css" type="text/css" />
</head>

<body>
    <div class="main_right_top">您现在所在位置 > <span>新闻动态列表</span></div>
    <div class="main_right_body">
    <div class="body_content"> 
        <div class="biao_list">
            
            <div class="set_all">
                <h1 class="biao_title">新闻列表</h1>
                <a href="industry_preAdd.action" class="set_btn_link">添加新闻</a>
            </div><!--set_all-->
            <table border="0" cellspacing="0" cellpadding="0">
                <thead>
                    <tr>
                        <th>新闻图片</th>
                        <th>新闻标题</th>
                        <th>新闻简介</th>
                        <th>发表时间</th>
                    	<th>操作</th>
                    </tr>
                    
                </thead>
                <tbody>
                <c:forEach items="${listNewPO}" var="item">
                    <tr>
						<td>${item.img_url }</td>
                        <td><div style="width:150px;text-align:center;white-space:nowrap;text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden;"><span>${item.title }</span></div></td>
                        <td><div style="width:150px;text-align:center;white-space:nowrap;text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden;"><span>${item.intro }</span></div></td>
                        <td>${item.date }</td>
           				<td>
           					<a href="industryDetail_show.action?id=${item.id }" class="td_detail">详情</a>
                            <a href="industry_preUpdate.action?id=${item.id}" class="td_edit">修改</a>
                            <a href="industry_delete.action?id=${item.id}" class="td_detele">删除</a>
                        </td>
                    </tr>
                   </c:forEach>
                </tbody>
            </table>
            
            <div class="page_all">
                <div class="page">
                    <ul>
                        <li>
                            <a><span class="arrow_left"></span></a>
                        </li>
                        <li>
                            <a>1</a>
                        </li>
                        <li>
                            <a>2</a>
                        </li>
                        <li class="page_active">
                            <a>3</a>
                        </li>
                        <li>
                            <a>4</a>
                        </li>
                        <li>
                            <a>5</a>
                        </li>
                        <li>
                            <a><span class="arrow_right"></span></a>
                        </li>
                        <div class="clr"></div>
                    </ul>
                </div>
                <div class="clr"></div>
            </div><!--page_all-->
            
        </div><!--biao_list-->
        </div>
    </div> <!--main_right_body-->
</body>
</html>